<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Iniuriam: /home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/liste_perso.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Iniuriam
   &#160;<span id="projectnumber">alpha 1</span>
   </div>
   <div id="projectbrief"> RPG futuriste</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">/home/etu/v/p1115890/LIF7/EncoreUn/iniuriam/src/liste_perso.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="liste__perso_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __listePersonnage_h__</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __listePersonnage_h__</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00004"></a>00004 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00005"></a>00005 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00006"></a>00006 <span class="preprocessor">#include &lt;assert.h&gt;</span>
<a name="l00007"></a>00007 <span class="preprocessor">#include &lt;string.h&gt;</span>
<a name="l00008"></a>00008 <span class="preprocessor">#include &lt;SDL/SDL.h&gt;</span>
<a name="l00009"></a>00009 <span class="preprocessor">#include &quot;<a class="code" href="inventaire_8h.html">inventaire.h</a>&quot;</span>
<a name="l00010"></a>00010 <span class="preprocessor">#include &quot;<a class="code" href="capacite_8h.html">capacite.h</a>&quot;</span>
<a name="l00011"></a>00011 <span class="preprocessor">#include &quot;<a class="code" href="constante_8h.html">constante.h</a>&quot;</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &quot;<a class="code" href="equipement_8h.html">equipement.h</a>&quot;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &quot;<a class="code" href="personnage_8h.html">personnage.h</a>&quot;</span>
<a name="l00014"></a>00014 
<a name="l00019"></a><a class="code" href="structListe__Perso.html">00019</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00020"></a>00020 {
<a name="l00021"></a><a class="code" href="structListe__Perso.html#abed21f99c6a8150d8bf6c1e116633aef">00021</a>     <a class="code" href="structPersonnage.html">Personnage</a>* <a class="code" href="structListe__Perso.html#abed21f99c6a8150d8bf6c1e116633aef">perso</a>;
<a name="l00022"></a><a class="code" href="structListe__Perso.html#a895686edd95fd82aa35de2bc0ae3eb1a">00022</a>     <span class="keywordtype">int</span> <a class="code" href="structListe__Perso.html#a895686edd95fd82aa35de2bc0ae3eb1a">nbrPerso</a>;
<a name="l00023"></a><a class="code" href="structListe__Perso.html#aa8046373a4f8ed1cf8f60a24226f2f78">00023</a>     <span class="keywordtype">char</span> <a class="code" href="structListe__Perso.html#aa8046373a4f8ed1cf8f60a24226f2f78">numCarte</a>;
<a name="l00024"></a>00024 }<a class="code" href="structListe__Perso.html">Liste_Perso</a>;
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 
<a name="l00031"></a>00031 <span class="keywordtype">void</span> <a class="code" href="liste__perso_8c.html#a2d7febe50c7bd588849a7a6c3ce5e039" title="Preconditions : liste n&#39;est pas initialisée   Postconditions : initialise liste qui est prête à conte...">listePersoInit</a>(<a class="code" href="structListe__Perso.html">Liste_Perso</a>* liste, <span class="keywordtype">int</span> nbr,<span class="keywordtype">char</span> numCarte);
<a name="l00032"></a>00032 
<a name="l00037"></a>00037 <span class="keywordtype">void</span> <a class="code" href="liste__perso_8h.html#a1a19d5388e1851b198e6bc6b0deba6cc" title="Preconditions : ?   Postconditions : ?">tabListePerso</a>(<a class="code" href="structListe__Perso.html">Liste_Perso</a>* liste, <span class="keywordtype">int</span> nbr);
<a name="l00038"></a>00038 
<a name="l00043"></a>00043 <span class="keywordtype">void</span> <a class="code" href="liste__perso_8h.html#af3fb9693ab0ea5f79304d1fdf38920cd" title="Preconditions : ?   Postconditions : ?">tabListePersoInitPNJ</a>(<a class="code" href="structListe__Perso.html">Liste_Perso</a>* liste, <a class="code" href="structObjet.html">Objet</a>* tabObjets);
<a name="l00044"></a>00044 
<a name="l00049"></a>00049 <span class="keywordtype">void</span> <a class="code" href="liste__perso_8h.html#af8ff7e55fde463dcc0b277f70bb83dde" title="Preconditions : ?   Postconditions : ?">setListePerso</a>(<a class="code" href="structListe__Perso.html">Liste_Perso</a>* liste, <a class="code" href="structPersonnage.html">Personnage</a>* perso);
<a name="l00050"></a>00050 
<a name="l00055"></a>00055 <span class="keywordtype">int</span> <a class="code" href="liste__perso_8c.html#a446d4f94cb841c4249fda3df9853da0e" title="Preconditions : liste est initialisée   Postconditions : retourne le nombre de Personnages que liste ...">getNbrPerso</a>(<a class="code" href="structListe__Perso.html">Liste_Perso</a>* liste);
<a name="l00056"></a>00056 
<a name="l00061"></a>00061 <span class="keywordtype">void</span> <a class="code" href="liste__perso_8c.html#a967419117a9f93bd4c65050295065350" title="Preconditions : liste est initialisée   Postconditions : change le nombre de Personnages que liste pe...">setNbrPerso</a>(<a class="code" href="structListe__Perso.html">Liste_Perso</a>* liste, <span class="keywordtype">int</span> i);
<a name="l00062"></a>00062 
<a name="l00067"></a>00067 <span class="keywordtype">void</span> <a class="code" href="liste__perso_8c.html#ac3a0476a5ba8a22a8050ee890b396d5f" title="Preconditions : liste est initialisée   Postconditions : liste est libérée.">listePersoLibere</a>(<a class="code" href="structListe__Perso.html">Liste_Perso</a>* liste);
<a name="l00068"></a>00068 
<a name="l00073"></a>00073 <span class="keywordtype">void</span> <a class="code" href="liste__perso_8c.html#abe21f803f3c7d6f4d0bedfb41f52920f" title="Preconditions : ?   Postconditions : ?">tabListePersoLibere</a>(<a class="code" href="structListe__Perso.html">Liste_Perso</a>* liste);
<a name="l00074"></a>00074 
<a name="l00079"></a>00079 <span class="keywordtype">char</span> <a class="code" href="liste__perso_8c.html#acd37e63d491118d94fe573a800c7ad83" title="Preconditions : liste est initialisée   Postconditions : retourne le numéro de carte sur lequel se si...">getListeNumCarte</a>(<a class="code" href="structListe__Perso.html">Liste_Perso</a>* liste);
<a name="l00080"></a>00080 
<a name="l00086"></a>00086 <span class="keywordtype">int</span> <a class="code" href="liste__perso_8c.html#a7ee13e5e4b0569a7b8c0dfcb437a2cfe" title="Preconditions : hero, pnj initialisés, nbPnj&gt;=0, 1&lt;=direction&lt;=4   Postconditions : teste si il y a un p...">testCollisionPerso</a>(<a class="code" href="structPersonnage.html">Personnage</a>* hero, <a class="code" href="structListe__Perso.html">Liste_Perso</a>* pnj, <span class="keywordtype">int</span> nbPnj, <span class="keywordtype">int</span> direction);
<a name="l00087"></a>00087 
<a name="l00092"></a>00092 <span class="keywordtype">int</span> <a class="code" href="liste__perso_8c.html#aad4bcdd37fe3a1e467a48699139d75bf" title="Preconditions : /   Postconditions : retourne le nombre de Groupes définis dans GroupesPNJ.txt.">getNbGroupesPNJ</a>();
<a name="l00093"></a>00093 
<a name="l00100"></a>00100 <span class="keywordtype">void</span> <a class="code" href="liste__perso_8c.html#acf0cae952efba23364a4e26e00ee4761" title="Preconditions : tabPNJ est l&#39;adresse d&#39;un tableau de Liste_Perso, non initialisé tabObjets est le tab...">initialiserTousLesPNJ2</a>(<a class="code" href="structListe__Perso.html">Liste_Perso</a>** tabPNJ, <a class="code" href="structObjet.html">Objet</a>* tabObjets);
<a name="l00101"></a>00101 
<a name="l00106"></a>00106 <span class="keywordtype">void</span> <a class="code" href="liste__perso_8c.html#a1f89a5077623e2fe4fa31c91c4096ca9" title="Preconditions : tabPNJ est initialisé   Postconditions : tabPNJ est libéré">libererTousLesPNJ2</a>(<a class="code" href="structListe__Perso.html">Liste_Perso</a>** tabPNJ);
<a name="l00107"></a>00107 
<a name="l00112"></a>00112 <span class="keywordtype">int</span> <a class="code" href="liste__perso_8c.html#a851764fa4c95aa10fdc64a80b405980f" title="Preconditions : tabPNJ est initialisé   Postconditions : récupère les listes de PNJ appartenant à la ...">getPNJCarte</a>(<a class="code" href="structListe__Perso.html">Liste_Perso</a>** tabPNJ,<span class="keywordtype">char</span> numCarte);
<a name="l00113"></a>00113 
<a name="l00114"></a>00114 <span class="preprocessor">#endif</span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Jun 4 2013 08:45:33 for Iniuriam by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
